package tm.testing;

import com.jmex.editors.swing.settings.GameSettingsPanel;
import com.jmex.game.StandardGame;
import com.jmex.game.state.GameStateManager;
 
public class NextTest {
 
	private static StandardGame game;
 
	public static void main(String[] args) throws Exception {
		game = new StandardGame("Strategic Handler Testgame");
		GameSettingsPanel.prompt(game.getSettings());
		game.start();
 
		ExampleGamestate state = new ExampleGamestate(game.getCamera());
		GameStateManager.getInstance().attachChild(state);
		state.setActive(true);
	}
 
	public static StandardGame getGame() {
		return game;
	}
}